package com.baitengsoft.patentservicemonitor.api.service;

import com.baitengsoft.patentservicemonitor.api.entity.RptPatentIpcEntity;
import com.baitengsoft.patentservicemonitor.api.model.RptPatentIpcModel;
import com.baitengsoft.patentservicemonitor.api.model.param.RptPatentIpcParam;
import org.apache.ibatis.annotations.Param;

/**
 * Created by 周俊 on 2018/1/2.
 */
public interface RptPatentIpcService {
    /**
     * 插入或更新一行数据
     * @param rptPatentIpcEntity
     */
    void addorUpdateRptPatentIpcInfo(RptPatentIpcEntity rptPatentIpcEntity);

    /**
     * 获取RptPatentDataArea表对应数据
     * @param PlatformID 所属平台ID
     * @param ParentID IPC分类ParentID
     */
    int queryRptPatentIpc(Integer PlatformID, Integer ParentID);

    /**
     * 获取一条数据
     * @param PlatformID 所属平台ID
     * @param ParentID IPC分类ParentID
     */
    RptPatentIpcEntity queryRptPatentIpcByQuery(Integer PlatformID, Integer ParentID);
}
